function obj = UnlockTransverseField(obj, channel)
    if nargin == 1
        channel = 'both';
    end
    
    getSession;
    ziSlave = sess.getDevice('dev3560');
    switch lower(channel)
        case 'x'
            ziSlave.unLock('0');
        case 'y'
            ziSlave.unLock('1');
        case 'both'
            ziSlave.unLock('0');
            ziSlave.unLock('1');
        otherwise
            error('Channel must be either ''x'' or ''y'' or ''both''. [%s] is not supported.', channel);
    end
end

